import { instance } from "../utils/request";
// 污染物统计
export const delivery = (data) => {
    return instance({
        url: '/work/board/pollutant/delivery',
        method: 'get',
        params:data
    })
}
// 铅封统计
export const getlead = (data) => {
    return instance({
        url: '/work/board/seal/count',
        method: 'get',
        params:data
    })
}
// 洗舱量统计

// export const capacity = (query) => {
//     return instance({
//         url: '/work/board/wash/capacity',
//         method: 'get',
//         params: query
//     })
// }
// 进出港申报列表
export const declareList = (data) => {
    return instance({
        url: '/work/board/declare/list',
        method: 'get',
        params:data
    })
}
// 进港申报列表详情
export const InPortDetail = (id) => {
    return instance({
        url: `/work/entryDeclaration/${id}/detail`,
        method: 'get'
    })
}
// 进港申报列表审批
export const InPortEdit = (data) => {
    return instance({
        url: `/work/entryDeclaration/approve`,
        method: 'post',
        data:data
    })
}
// 进港申报jilu
export const InPortHis = (id) => {
    return instance({
        url: `/work/entryDeclaration/lately/${id}`,
        method: 'get'
    })
}
// 出港申报列表详情
export const OutPortDetail = (id) => {
    return instance({
        url: `/work/exitDeclaration/${id}/detail`,
        method: 'get'
    })
}
// chu港申报jilu
export const OutPortHis = (id) => {
    return instance({
        url: `/work/exitDeclaration/lately/${id}`,
        method: 'get'
    })
}
// 申报列表审批
export const PortEdit = (data) => {
    return instance({
        url: `/work/board/declare/approve`,
        method: 'post',
        data:data
    })
}
// 状态操作
export const approve = (params) => {
    return instance({
        url: '/work/board/declare/approve',
        method: 'post',
        data: params
    })
}
// 重点船舶列表详情
export const importDetail = (data) => {
    return instance({
        url: `/work/board/important/ship/list`,
        method: 'get',
        params:data
    })
}
